

-- 自动安装 lazy.nvim
-- 插件安装目录
-- ~/.local/share/nvim/lazy/lazy.nvim


-- https://github.com/folke/lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

local status_ok, _ = pcall(require, "lazy")
if not status_ok then
    vim.notify("没有安装 lazy.nvim")
    return
end

require("lazy").setup("modes")
require('keybinding')
require('colorscheme')
-- require('autocmds')

-- 复制到windows剪贴板
-- require('utils.fix-yank')
-- require("utils.global")


